import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false

// axios
import axios from 'axios'
// 'http://47.96.163.93:3000'
axios.defaults.baseURL = 'http://127.0.0.1:3000'
Vue.prototype.$axios = axios


// mint-ui
import MintUi from 'mint-ui'
Vue.use(MintUi)
// 引入mintui样式表
import "mint-ui/lib/style.min.css";

// Vant-ui
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)
// 提示
// import { Toast } from "vant";
// Vue.use(Toast);


// //注册全局组件
// 头部组件
import HeaderTab from 'components/HeaderTab.vue'
Vue.component('header-tab', HeaderTab)
// 图片组件
import Exhibition from 'components/Exhibition.vue'
Vue.component('exhibition', Exhibition)



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
